{% extends "cms/base.html" %}

{% block title -%}
  添加板块
{%- endblock %}

{% block head %}
{% endblock %}

{% block page_title -%}
  {{ self.title() }}
{%- endblock %}

{% block main_content %}
  <form action="{{ url_for('cms.board_add') }}" method="post">
  <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
    <div class="form-container">
        <div class="form-group form-inline">
        <label for="board_name">板块名称：</label>
        <input id="board_name" type="text" class="form-control" name="name" placeholder="板块名称" >
      </div>
        <div class="form-group">
        <button class="btn btn-primary" id="submit">立即添加</button>
      </div>
    </div>
  </form>
{% endblock %}